home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-11-27 | 1.5 KB | 49 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH 1"="Appearance\Desktop\Icons\'Recycle Bin' Options"
- "NAME"="McAfee Trashguard"
- "VERSION"="1.0"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Enable McAfee Trashguard page in Recycle Bin Properties"
- "DESCRIPTION 1"="This option lets you enable or disable the extra page McAfee Trashguard adds to the Properties dialog for the Recycle Bin."
- "DESCRIPTION 2"="To enable it, place a tick in the box, and to disable it, clear the tick."
- "DESCRIPTION 3"="Note: Even if you disable the page in Recycle Bin Properties, you can still access the page through the Nuts & Bolts program."
- "AUTHOR"="Xteq Systems (Neil R. Turner)"
- "CONTACTURL"="http://www.xteq.com/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=""
-
- sP="HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\PropertySheetHandlers\{4d3744c0-7ec1-11d0-b599-10005a11ba95}\"
- sC="HKCR\CLSID\{4d3744c0-7ec1-11d0-b599-10005a11ba95}\"
-
- Sub Plugin_Initialize
- j=RegPathExists(sC)
- if j=false then
- Call Disable()
- else
- i=RegPathExists(sP)
- if i=true then
- Call SetUIElement(1,true)
- end if
- end if
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sP & "/@","",1)
- else
- t=RegPathExists(sP)
- If t=true then
- u=RegValueExists(sP & "\@")
- if u=true then
- Call RegDeleteValue(sP & "\@")
- end if
- Call RegDeletePath(sP)
- end if
- end if
- End Sub
-
- Sub Plugin_Terminate
- End Sub